<!-- src/views/FormInputView.vue -->
<template>
  <div class="form-demo">
    <h2>基础文本输入</h2>
    <input v-model="text" type="text" placeholder="请输入文字..." />
    <p>你输入的是：{{ text }}</p>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const text = ref('')
</script>

<style scoped>
.form-demo {
  padding: 20px;
  border: 1px solid #ddd;
  margin: 16px 0;
}
</style>
